package cn.ac.cintcm.synonymous;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.apache.log4j.Logger;

public final class SynonymousListener implements ServletContextListener {
    private static Logger logger = Logger.getLogger(SynonymousListener.class);
    public void contextDestroyed(ServletContextEvent arg0) {
        logger.debug("saving dictionary and datasource");
        EditCtl.saveOnExit();
    }

    public void contextInitialized(ServletContextEvent arg0) {
        
    }
}
